﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AuthoriztionMaster.master" AutoEventWireup="true"
    CodeBehind="quanlythongtincanhan.aspx.cs" Inherits="Giaiphongmatbang.quanlythongticanhan" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Style/duan.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        function enabletext() {
            $('#<%=txtFullName.ClientID%>').attr("disabled", "");
            $('#<%=txtDisplayName.ClientID %>').attr("disabled", "");
            $('#<%=txtAddress.ClientID %>').attr("disabled", "");
            $('#<%=txtEmail.ClientID %>').attr("disabled", "");
            $('#<%=txtPhone.ClientID %>').attr("disabled", "");
            $('#<%=ddlGender.ClientID %>').attr("disabled", "");
            $('#<%=btnApply.ClientID %>').attr("disabled", "");
            $('#<%=txtFullName.ClientID%>').focus();
            return false;
        }

        function xoatrang() {
            if (!$('#<%=txtFullName.ClientID %>').attr("disabled")) {
                $('#<%=txtFullName.ClientID %>').val("");
                $('#<%=txtDisplayName.ClientID %>').val("");
                $('#<%=txtAddress.ClientID %>').val("");
                $('#<%=txtEmail.ClientID %>').val("");
                $('#<%=txtPhone.ClientID %>').val("");
            }
            return false;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">
    <div class="table">
        <div class="box-title-a">
            <a href="duan.aspx" title="Trang chủ" style="text-align: center; vertical-align: middle;">
                <img src="Images/home.png" alt="Trang chủ" style="vertical-align: middle; margin-bottom: 3px;" /></a>
            Quản lý thông tin cá nhân
        </div>
        <div class="boxleft">
            <div class="box-title-a">
                Thiết đặt
            </div>
            <div class="setinfo">
                <ul>
                    <li><a href="quanlythongtincanhan.aspx" title="Cập nhật thông tin tài khoản">&nbsp;&nbsp;Thông tin tài khoản</a></li>
                    <li><a href="thaydoimatkhau.aspx" title="Đổi mật khẩu">&nbsp;&nbsp;Đổi mât khẩu</a></li>
                </ul>
            </div>
        </div>
        <div class="boxright">
            <div class="box-title-a">
                Thông tin cá nhân
            </div>
            <fieldset class="box-content">
                <legend><strong>Thông tin tài khoản</strong></legend>
                <p>
                    <span>Tên đăng nhập:&nbsp</span>
                    <strong style="color:Blue;"><asp:Literal ID="ltrUserName" runat="server"></asp:Literal></strong></p>
                <p>
                    <span>Tên đầy đủ:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                    <asp:TextBox ID="txtFullName" runat="server" CssClass="field" AutoComplete="Off"></asp:TextBox></p>
                <p>
                    <span>Tên hiển thị:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                    <asp:TextBox ID="txtDisplayName" runat="server" CssClass="field" AutoComplete="Off"></asp:TextBox></p>
                <p>
                    <span>Địa chỉ:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                    <asp:TextBox ID="txtAddress" runat="server" CssClass="field" AutoComplete="Off"></asp:TextBox></p>
                <p>
                    <span>Điện thoại:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                    <asp:TextBox ID="txtPhone" runat="server" CssClass="field" AutoComplete="Off"></asp:TextBox></p>
                <p>
                    <span>Giới tính:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                    <asp:DropDownList ID="ddlGender" runat="server" CssClass="field">
                        <asp:ListItem Text="Nam" Value="True"></asp:ListItem>
                        <asp:ListItem Text="Nữ" Value="False"></asp:ListItem>
                    </asp:DropDownList>
                </p>
                <p>
                    <span>Email:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                    <asp:TextBox ID="txtEmail" runat="server" CssClass="field" AutoComplete="Off"></asp:TextBox></p>
                    <p>
                <input type="button" onclick="return enabletext()" value="Thay đổi thông tin tài khoản"
                    class="button" /></p>
            </fieldset>
            <div class="box-content" style="text-align: center">
                <asp:Button ID="btnApply" CssClass="button" runat="server" Text="Lưu thay đổi" OnClick="btnApply_Click" />&nbsp;
                <input type="reset" value="Xóa trắng" class="button" onclick="return xoatrang()" />
            </div>
        </div>
    </div>
</asp:Content>
